//region 基础类消息ID

/// 握手 0x0001 -> 1
const HAND_SHAKE = 1;

/// 芯片信息 0x0002 -> 2
const CHIP_INFO = 2;

/// 设备版本号 0x0003 -> 3
const DEVICE_VERSION = 3;
//endregion

//region 绑定类消息ID
/// 绑定 0x0101 -> 257
const BIND = 257;

/// 支持的功能列表 0x0102 -> 258
const FUNCTION_LIST = 258;

/// 配对请求 0X0103 -> 259
const PAIR = 259;

/// 解绑 0x0104 -> 260
const UN_BIND = 260;
//endregion

//region 设置类消息ID
/// 记步目标 0x0201 ->513
const STEP_TARGET = 513;

/// 亮屏时间设置 0x0202 -> 514
const BRIGHTEN_SCREEN_TIME = 514;

/// 久坐设置 0x0203 ->515
const LONG_SIT = 515;

/// 勿扰设置 0x0204 ->516
const DO_NOT_DISTURB = 516;

/// 震动设置 0x0205 ->517
const SHAKE = 517;

/// 抬手亮屏设置 0x0206 ->518
const HAND_BRIGHTEN_SCREEN = 518;

/// 12/24时间类型设置 0x0207 ->519
const HOUR_TYPE = 519;

/// 语言设置 0x0208 ->520
const LANGUAGE = 520;

/// 闹钟设置 0x0209 ->521
const ALARM = 521;

/// 消息通知开关设置 0x020A ->522
const NOTIFICATION_SWITCH = 522;

/// 定时心率设置 0x020B ->523
const TIME_HEART = 523;

/// 喝水提醒设置 0x020C ->524
const DRINK_REMIND = 524;

/// 吃药提醒设置 0x020D ->525
const MEDICINE_REMIND = 525;

/// 生理期设置 0x020E ->526
const PERIOD = 526;

/// 定时体温设置 0x020F ->527
const TIMING_BODY_TEMPERATURE = 527;

/// 防丢设置 0x0210 ->528
const ANTI_LOST = 528;

/// 公英制设置 0x0211 ->529
const INCH_TYPE = 529;

/// 天气温度单位 0x0212 ->530
const TEMPERATURE_TYPE = 530;

/// SOS联系人设置 0x0213 ->531
const SOS = 531;

/// 表盘设置 0x0214 ->532
const WATCH_PLATE = 532;

/// 手表控制电话 0x0215 ->533
const PHONE_CONTROL = 533;

/// 找手机功能 0X0216 ->534
const FIND_PHONE = 534;

/// 找手表功能 0X0217 ->535
const FIND_WATCH = 535;

/// 拍照控制 0X0218 ->536
const CAMERA_CONTROL = 536;

/// 用户信息设置 0X0219 ->537
const USER_INFO = 537;

/// 表盘自定义设置 0x021A ->538
const CUSTOM_WATCH_PLATE = 538;
//endregion

//region 数据类消息ID
/// 实时数据 0x0301 -> 769
const REAL_TIME_DATA = 769;

/// 运动 0x0302 -> 770
const SPORT_RECORDER = 770;

/// 运动设置 0x0303 -> 771
const SPORT_SETTING = 771;

/// 血糖 0x0304 -> 772
const BLOOD_GLUCOSE = 772;

/// 心跳 0x0305 -> 773
const HEART = 773;

/// 血压 0x0306 -> 774
const BLOOD_PRESSURE = 774;

/// 血氧 0x0307 -> 775
const BLOOD_OXYGEN = 775;

/// 睡眠 0x0308 -> 776
const SLEEP = 776;

/// HRV 0x0309 -> 777
const HRV = 777;

/// GPS 0x030A -> 778
const GPS = 778;

/// 车辆状态 0x030B -> 779
const CAR_STATE = 779;

/// 车辆控制 0x030C -> 780
const CAR_CONTROL = 780;

/// 心电数据 0x030D -> 781
const ECG = 781;

/// 情绪算法数据 0x030E -> 782
const RRI = 782;

/// 大气压 0x030F -> 783
const BAROMETRIC_PRESSURE = 783;

/// 体温 0x0310 -> 784
const BODY_TEMPERATURE = 784;

/// 车辆坐标范围 0x0311 -> 785
const CAR_COORDINATE_RANGE = 785;

/// 跳绳 0x0312 -> 786
const JUMP_ROPE = 786;

/// Gsensor 0x0313 -> 787
const G_SENSOR = 787;
//endregion

//region 推送类消息ID
/// 消息推送 0x0401 ->1025
const PUSH_MESSAGE = 1025;

/// 音乐控制 0x0402 ->1026
const MUSIC_CONTROL = 1026;

/// 天气推送 0x0403 ->1027
const WEATHER = 1027;

/// 未来天气推送 0x0404 ->1028
const FUTURE_WEATHER = 1028;

/// 时间更新 0x0405 ->1029
const TIME_UPDATE = 1029;

/// 来电推送 0x0406 ->1030
const PUSH_MESSAGE_PHONE = 1030;
//endregion

//region 文件传输类ID
/// 升级表盘 0x0501 ->1281
const TRANSMIT_WATCH_PLATE = 1281;

/// 表盘自定义设置 0x0502 ->1282
const TRANSMIT_CUSTOM_WATCH_PLATE = 1282;

/// 音乐传输 0x0503 ->1283
const TRANSMIT_MUSIC = 1282;
//endregion

/// 当前帧数    index:2 length:1
/// 总帧数     index:3 length:1
/// 功能标记    index:4 length:1
/// 校验和      index:5 length:2
/// 数据包长度   index:7 length:2
/// 功能码      index:9 length:2
/// 数据长度    index:11 length:2
/// 数据       index:13 length:n
const CURRENT_FRAME_INDEX = 2;
const CURRENT_FRAME_SIZE = 1;
const TOTAL_FRAME_INDEX = 3;
const TOTAL_FRAME_SIZE = 1;
const FUNCTION_FLAG_INDEX = 4;
const FUNCTION_FLAG_SIZE = 1;
const CHECK_SUM_INDEX = 5;
const CHECK_SUM_SIZE = 2;
const PACKAGE_LENGTH_INDEX = 7;
const PACKAGE_LENGTH_SIZE = 2;
const FUNCTION_ID_INDEX = 9;
const FUNCTION_ID_SIZE = 2;
const DATA_LENGTH_INDEX = 11;
const DATA_LENGTH_SIZE = 2;
const DATA_INDEX = 13;

///通用类型
const String SUCCESS = "success";
const String TIME_STAMP = "timeStamp";
